﻿// =================================================================== 
// 项目说明
//====================================================================
// lsc @Copy Right 2019
// 文件： CUserInfoEntity.cs
// 项目名称：斑马车务
// 创建时间：2019-09-17
// 负责人：lsc
// ===================================================================

using System;
using Dapper.Extensions;

namespace YouWei.Infrastructure.Entity
{
	/// <summary>
	///C端用户表数据实体  
	/// </summary>
    [PrimaryKey("UserID")]
	public class BUserInfo
	{
		///<summary>
		///C端用户表
		///</summary>
		public BUserInfo()
		{
		}	
    
		
		///<summary>
		///主键
		///</summary>
        [Column("UserID","主键")]
        public int UserID { get; set; }

		///<summary>
		///姓名
		///</summary>
        [Column("UserName","姓名")]
        public string UserName { get; set; }

		///<summary>
		///头像
		///</summary>
        [Column("UserHead","头像")]
        public string UserHead { get; set; }

		///<summary>
		///电话
		///</summary>
        [Column("Mobile","电话")]
        public string Mobile { get; set; }

		///<summary>
		///公司名称
		///</summary>
        [Column("CompanyName","公司名称")]
        public string CompanyName { get; set; }

		///<summary>
		///职位
		///</summary>
        [Column("Position","职位")]
        public string Position { get; set; }

		///<summary>
		///邮箱
		///</summary>
        [Column("Email","邮箱")]
        public string Email { get; set; }

		///<summary>
		///座机
		///</summary>
        [Column("Telephone","座机")]
        public string Telephone { get; set; }

		///<summary>
		///微信号
		///</summary>
        [Column("WeChartNum","微信号")]
        public string WeChartNum { get; set; }

		///<summary>
		///来源渠道
		///</summary>
        [Column("UserSence","来源渠道")]
        public int UserSence { get; set; }

		///<summary>
		///来源渠道标识
		///</summary>
        [Column("UserScenceToken","来源渠道标识")]
        public string UserScenceToken { get; set; }

		///<summary>
		///简介
		///</summary>
        [Column("UserDesc","简介")]
        public string UserDesc { get; set; }

		///<summary>
		///用户类型(1：个人 2:企业)
		///</summary>
        [Column("UserType","用户类型(1：个人 2:企业)")]
        public int UserType { get; set; }

		///<summary>
		///省-地址
		///</summary>
        [Column("DProince","省-地址")]
        public int DProince { get; set; }

		///<summary>
		///市-地址
		///</summary>
        [Column("DCity","市-地址")]
        public int DCity { get; set; }

		///<summary>
		///区-地址
		///</summary>
        [Column("DLocation","区-地址")]
        public int DLocation { get; set; }

		///<summary>
		///详细地址-地址
		///</summary>
        [Column("DAddress","详细地址-地址")]
        public string DAddress { get; set; }

		///<summary>
		///创建时间
		///</summary>
        [Column("CreateDate","创建时间")]
        public DateTime CreateDate { get; set; }

		///<summary>
		///更新时间
		///</summary>
        [Column("UpdateDate","更新时间")]
        public DateTime UpdateDate { get; set; }

		///<summary>
		///逻辑标识(1：可用 0：禁用)
		///</summary>
        [Column("IsActvie","逻辑标识(1：可用 0：禁用)")]
        public int IsActvie { get; set; }

		///<summary>
		///OpenID
		///</summary>
        [Column("OpenID","OpenID")]
        public string OpenID { get; set; }

		///<summary>
		///UnionID
		///</summary>
        [Column("UnionID","UnionID")]
        public string UnionID { get; set; }

	}
}